﻿cko = new function () {
    return {
        setChildModel: function (newModel) {
            var container = $("#modalDialog")[0];
            //setModel(container, newmo);
            ko.cleanNode(container);
            cko.view.child(newModel);

            ko.applyBindings(cko.view.child, container);
        }
    };
};
cko.view = new function () {
    var self = this;

    self.child = new ko.observable({});
    self.menuChild = new ko.observable({});
};
cko.models = new function () { };
function selectOptionItem(id, text) {
    var that = this;
    that.id = id;
    that.text = text;
};